<?php
include "connect.php";
$sub_name=$_POST['sub_name'];
$dept_id=$_POST['dept_id'];
$campus_id=$_POST['campus_id'];


$dbquery="INSERT INTO subject (sub_name,dept_id,campus_id) 
VALUES ('$sub_name','$section_id','$dept_id','$campus_id')";

mysql_query($dbquery);
	
header("location:add_subject_success.php");
?>